#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>

int main(){
	printf("Original\n");
	pid_t child1 = fork();
	if (child1 != 0){	//Child1
		printf("Child 1\n");
		pid_t child2 = fork();
		if(child2 == 0){	//Child2
			printf("Child 2\n");
		}
	}else{	//parent
		printf("Parent\n");
	}
	
	
	return (EXIT_SUCCESS);
}
